﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="InWrl.aspx.cs" Inherits="Ewts.Storage.InWrl" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<link rel="stylesheet" href="/css/tab4.css" type="text/css" />
         <link type="text/css" href="/css/tab1.css" rel="stylesheet" />
           <link type="text/css" href="/css/tab2.css" rel="stylesheet" />
   <style type="text/css">
         .instorClass
        {
            background-color: #fafafa;
	        height: 100%;
	        width: 100%;
	        margin: 0px;
	        padding-top: 1px;
	        padding-left: 1px;
	        border-top-style: none;
	        border-right-style: none;
	        border-bottom-style: none;
	        border-left-style: none;
        }
    
        .hiddenloadid{}
        .hiddencjoid{}
        .dropComeunDer{}
        .hiddenOper{}
        .hiddenInSid{}
        .HidPostion{}
        .dropPlate{}
        .txtin{}
       .style1
       {
           width: 51px;
       }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
    <input type="hidden" id="hidgraphic" runat="server" class="hidgraphic" /> 
    
     <!-- 添加隐藏控件，保存当前登录者处理地 为库位筛选做条件参数   2013.05.24  Anling  -->
    <table id="tabbInfo" style="width:1600;">
        
        <tr>
            <td style=" text-align:right; height:25px; width:80px;">
                LoadNum：
            </td>
            <td>
                <input type="text" name="textfield" id="inputLoadNum" disabled="disabled"  style=" width:180px;" class="input" runat="server" />
            </td>
            <td style=" text-align:right; height:25px; width:80px;">CJO：
            </td>
            <td>
            <input type="text" name="textfield" id="inputCjo" disabled="disabled" style=" width:180px;" class="input" runat="server" />
            </td>
            <td style=" text-align:right; height:25px;">
                客户名称：
            </td>
            <td><input type="text" name="textfield" id="txtcutomer" disabled="disabled" style=" width:200px;" runat="server" />
            </td>
            <td style="text-align:right;height:25px;width:80px;">特殊要求：
            </td>
            <td >
                <input type="text" id="txtpeculiarrequire" runat="server" disabled="disabled" style="width:180px;" />
            </td>
             <td colspan="3">
            </td>
           
        </tr>
        <tr>
            <td  style=" text-align:right; height:25px; width:80px;">
                入库编号：
            </td>
            <td>
                <input type="text" runat="server" id="txtIn" disabled="disabled" style=" width:180px;"  class="txtin" />
            </td>
            
            <td style=" text-align:right; height:25px; width:80px;">
                收货人：
            </td>
            <td>
                <input type="text" name="textfield" id="txtvehider" disabled="disabled" class="txtvehider" style=" width:180px;" runat="server" />
            </td>
            <td style=" text-align:right; height:25px; ">入库时间：
            </td>
            <td>
            <label id="labInDate" runat="server" class="labInDate"></label>
            </td>
            <td style=" text-align:right; height:25px; ">财务结算月：</td>
            <td>
                <asp:DropDownList ID="dropYear" CssClass="dropYear" runat="server">
               
                </asp:DropDownList>
                <asp:DropDownList ID="dropMonth" CssClass="dropMonth" runat="server">
                    <asp:ListItem>01</asp:ListItem>
                    <asp:ListItem>02</asp:ListItem>
                    <asp:ListItem>03</asp:ListItem>
                    <asp:ListItem>04</asp:ListItem>
                    <asp:ListItem>05</asp:ListItem>
                    <asp:ListItem>06</asp:ListItem>
                    <asp:ListItem>07</asp:ListItem>
                    <asp:ListItem>08</asp:ListItem>
                    <asp:ListItem>09</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
               
                </asp:DropDownList>
            </td>
            <td>
               <ul><li><asp:CheckBox ID="chkAllLock" CssClass="alllock" Text="全单锁定" runat="server" /></li>
               <li><asp:CheckBox ID="chkHardTest" CssClass="chkHardTest" Text="硬件测试" runat="server" /></li></ul>
                
                
                

            </td>
           
        </tr>
        <tr runat="server" id="trjxwc" >
            <td style=" text-align:right; height:25px; width:80px;">出库单重量：</td>
            <td><label id="lblOuttotal" runat="server" class="lblOuttotal">0.00</label></td>
            <td style=" text-align:right; height:25px; width:80px;">已称重量：</td>
            <td id="tdinsweight" class="tdinsweight" runat="server">0.00</td>
            <td><span id="labjcwc">机械误差：</span></td>
            <td style="text-align:left; height:25px; width:220px;">

                <input type="hidden" value="0" id="hidMec"/>
                <span id="spanMec">
                        <input id="txtMechanerr" value="0.00" class="txtMechanerr" disabled="disabled" runat="server" />
                        <input type="button" onclick="javascript:changemecweight()" id="btnMec" value="编辑" />
                        <input type="button" onclick="javascript:cancelnwt()" id="btnCancel" disabled="disabled" value="放弃" />
                </span>

            </td>
            <td  style=" text-align:right;">备注：</td>
          <td colspan="3"> 
            <div id="txtDiv">
                <textarea  id="txtRemark" class="insremark" cols="10" rows="5" runat="server" style="width:200px;height:80px;"></textarea>
                <br />
                <input type="button" id="btnSaveRemark" value="保存" /> <input type="button" id="btnCancelRemark" value="取消" />
            </div>
            <div id="imgDiv">
                <a href="javascript:void(0)" onclick="showRemark()"><img style="width:18px" src="/images/remark.png" alt="备注"/></a>
            </div>
           </td>
        </tr>
    </table>
 

      
<div class="tab1">
	<h1>货物接收</h1>
    <!--一个表单-->
        <input type="hidden" id="hidLoadID" value="0" class="hiddenloadid" runat="server" />
        <input type="hidden" id="hidCJOID" value="0" class="hiddencjoid" runat="server" />
        <input type="hidden" id="hidInStoID" value="0" class="hiddenInSid" runat="server" />
        <input type="hidden" id="hidoutparID" value="0" class="hiddenParSid" runat="server" />
        <input type="hidden" id="HiddenOper" value="0" class="hiddenOper"  runat="server" />
        <input type="hidden" id="HidStatus" value="0"   class="HidStatus" runat="server" />
        <input type="hidden" id="HidPostion" value="0" class="HidPostion"/>
        <input type="hidden" id="hidOutid" value="0" class="HidOutid" runat="server" />
        <input type="hidden" id="hidOutWeight" value="0" class="hidOutWeight" runat="server" />
        <input type="hidden" id="hidInDepart" value="" class="hidInDepart" runat="server" />
        <input type="hidden" id="hidOutDepart" value="" class="hidOutDepart" runat="server" />
        <table border="0" cellpadding="0" id="tab" cellspacing="0">
        

         <tr>            
            <th scope="col">序号</th>
            <th scope="col">物品编码</th>
            <th scope="col">物品名称</th>
            
            <th scope="col">毛重</th>
            <th scope="col">皮重1</th>
            <th scope="col">皮重2</th>
            <th scope="col">净重</th>
            
            <th scope="col">数量</th>
            <th scope="col">库位</th>
             <th scope="col">废物编码</th>
            <th scope="col">废物类型</th>
            <th scope="col">联单号</th>
           <th scope="col" class="style1">箱号</th>
            
            <th scope="col">入库时间</th>
            <th scope="col">备注</th>
            
             <th scope="col">条形码</th>
             <th scope="col">车牌号</th>
             <th scope="col">锁定</th>
             <th scope="col" colspan="3">操作</th>
             <th></th>
            
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="text" name="textfield" tabindex="1" id="txtgc" style="width:50px;" />
                <input type="hidden" value="0" id="hidgdid" />
            </td>
            <td>
                <input type="text" name="textfield" id="txtgn" style="width:100px;" />
            </td>
            <td style="width:35px;">
                 <input type="text" name="textfield" tabindex="2" id="txtgwt" style="width:40px" />
               <%-- <label id="dropt" style="width:35px; display:none;"></label>--%>
            </td>
            <td>
                <input type="text" name="textfield" tabindex="3" id="txttare1" value="0" style="width:40px" />
            </td>
            <td>
               <input type="text" name="textfield" tabindex="4" id="txttare2" value="0" style="width:40px" />
            </td>
            <td>
               <label id="txtnwt"></label> 
            </td>
            
            <td style="width:40px">
                <input type="text" tabindex="5" name="textfield" id="txtqty" style="width:30px" />
                
            </td>
                      <td>
                <input type="text" tabindex="6" name="textfield" id="txtsid" style="width:40px" />
            </td>
            <td>
                <input type="text" tabindex="7" id="txtHw" />
               <input type="hidden" id="hidHwid" value="0" />
            </td>
            <td>
                <label id="lblHwType"></label> 
            </td>
            <td>
                <input type="text" tabindex="8" id="txtdno" />
            </td>
            <td class="style1">
                <input type="text" name="textfield" id="txtpn" style="width:40px" />
            </td>
           
  
            <td>
                <label id="lblInDate"></label>
            </td>
            <td>
                <input type="text" id="txtremark" />
               
                
            </td>

            <td>
                <label id="lblbarcode" class="lblbarcode"></label>
            </td>
            <td>
                <asp:DropDownList ID="dropPlate" CssClass="dropPlate" runat="server"></asp:DropDownList>
            </td>
             <td>
                <input type="checkbox" id="chkIsLock" class="chkAddBarLock" />锁定
            </td>
            <td colspan="3" >
                <input type="button" tabindex="9" id="btnSaveBarcode" value="插入"/>
            </td>
            <td></td>
        </tr>
        <asp:Repeater ID="rept" runat="server">
        <ItemTemplate>
      <tr id='ttt'>
        <td><%# Container.ItemIndex + 1 %></td>
            <td><%# Eval("goodscode")%></td>
            <td><%# Eval("goodsname")%></td>
            <td><%# Eval("gwt")%></td>
            <td><%# Eval("tare1") %></td>
            <td><%# Eval("tare2") %></td>
            <td class='barnwt'><%# Eval("nwt") %></td>
            <td><%# Eval("qty") %></td>
            <td><%# Eval("stroageNo")%></td>
            <td><%# Eval("rubbishcode")%></td>
            <td><%# Eval("rubbishtype")%></td>
            <td><%# Eval("rdh")%></td>
            <td><%# Eval("packageno")%></td>
            <td><%# Eval("createdate")%></td>
            <td><%# Eval("Remark") %></td>
            <td><%# Eval("barcodevalue")%></td>
            <td><%# Eval("plateno")%></td>
            <td><input type="checkbox" title="<%# Eval("id")%>"  class="flase"  <%# GetIsLock(Eval("isLocak").ToString())%>  />锁定 </td>
            <td>
                <img src='/images/jian.png' onclick="javascript:delClick(this)" alt='<%# Eval("id") %> ' width='16' height='17' class='jian'/>
            </td>
            <td>
                <img src='/images/icons/button_update.gif' onclick='javascript:updateClick(this)' alt='<%# Eval("id") %> ' height='17'/>
            </td>
            <td><a href='/Storage/BarCodeWRL.aspx?barCodeID=<%# Eval("id") %>' target="_blank">条码重打</a></td>    
      </tr>
      </ItemTemplate>
       </asp:Repeater>
    </table>
    <div >
    		<asp:Button ID="btnSave" runat="server" Text="提交" onclick="btnSave_Click" />&nbsp;&nbsp;&nbsp;
    		<asp:Button ID="btnCanel" runat="server" Text="取消"/>
    </div>
    <div class="align"></div>
</div>
 <script type="text/javascript" src="/js/inwrl.js"></script>
</asp:Content>
